import request from '@/utils/request'
export const getCoreList = () => request({url:`/admin/core/integralGrade/list`,method:'get'})
export const deleteCore  = id =>request({url:`/admin/core/integralGrade/remove/${id}`,method:'delete'})
export const saveCoreIntegrade = integralGrade=>request({url:"/admin/core/integralGrade/save",method:'post',data:integralGrade})
export const getById = id =>request({url:`/admin/core/integralGrade/get/${id}`,method:'get'})
export const updateById = integralGrade => request({url:'/admin/core/integralGrade/update',method:'post',data:integralGrade})